import request from '@/utils/request';

//获取评论列表
export async function getComments(params){
  return request('/admin/comments?include=goods',{params})
}
//获取评论详情
export async function showComments(editId){
  return request(`/admin/comments/${editId}?include=goods,user,orderDetails`)
}
//订单发货
export async function commentsReply(editId,data){
  return request.patch(`/admin/comments/${editId}/reply`,{data})
}